package edu.sctu.renpingan.day20150505;

/**
 * Created by Administrator on 2015/5/5.
 */
public class Dogtwo extends Abstract {
    public InterfaceText interfaceText1;
    public Dogtwo(InterfaceText interfaceText1){
        this.interfaceText1 = interfaceText1;
    }
    @Override
    public void getcolor() {
        color = "red";
    }

    @Override
    public void getaction() {
        action = "run and jump";
    }

    @Override
    public void getsize() {
        size=90;
    }


    public void dogtwo() {
        interfaceText1.getierface(color,action,size);
    }
}
